package com.yylany.pojo;


import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * Description: pinyougou
 *
 * @author <a href="mailto:17777502615@163.com">yaoyonglong</a>
 * @date 2018/12/19
 * @since 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class TbNews {
    private Integer id;

    private String title;

    /**
     * @JsonIgnore 是将对应的参数忽略处理
     */
    @JsonIgnore
    private String author;

    private Date createdAt;
    @JsonIgnore
    private Date updatedAt;
    @JsonIgnore
    private String content;

}